﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using LX.Core.IO;

namespace LX.IO
{
    public interface IDistributionFileManager
    {
        DistributionFile SaveFile(byte[] data, string filename);
        DistributionFile SaveFile(Stream stream, string filename);
        DistributionFile SaveFileWithMimetype(byte[] data, string mimetype);
        DistributionFile SaveFileWithMimetype(Stream stream, string mimetype);
        void DeleteFile(string area, string path);
    }
}
